package com.seaboxdata.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seaboxdata.entity.ProjectInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProjectInfoDao extends BaseMapper<ProjectInfo> {

    @Select("select max(generate_time) from dpzjj_jzfqwzhjg.l064_project_info")
    String getMaxGenerateTime();

    int insert(@Param("projectInfo") ProjectInfo projectInfo);
}
